package com.xuchen.zhenyang.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 客户欠款
 * </p>
 *
 * @author xuchen
 * @since 2019-02-17
 */
@Data
public class Debt implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "debt_id", type = IdType.AUTO)
    private Integer debtId;
    /**
     * 客户
     */
    private Integer userId;
    /**
     * 1.债权 2.债务
     */
    private Integer debtType;
    /**
     * 金额
     */
    private BigDecimal debtMoney;
    /**
     * 实际记账金额
     */
    private BigDecimal realDebtMoney;
    /**
     * 立据时间
     */
    private Date billTime;
    private String remark;
    private Date createTime;
    private String createUser;
    private Date updateTime;
    private String updateUser;

}
